function dealUrl(url) {
    let reg = /^[^\s]+\?([^&\s\d]+=[^\s]+)*/;
    let match = reg.exec(url);
    match = match[1];
    if (!match) {
        return null;
    }

    let queryString = decodeURI(match);
    let queryArr = queryString.split("&");
    let queryObj = {};
    queryArr.forEach((item) => {
        let itemArr = item.split("=");
        queryObj[itemArr[0]] = itemArr[1];
    });

    return queryObj;
}